/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * This class is used by
 * {@link com.crossriver.crgis.database.service.http.Bank_Payment_SlipServiceSoap}.
 * </p>
 *
 * @author    Wole Adetiba
 * @see       com.crossriver.crgis.database.service.http.Bank_Payment_SlipServiceSoap
 * @generated
 */
public class Bank_Payment_SlipSoap implements Serializable {
	public static Bank_Payment_SlipSoap toSoapModel(Bank_Payment_Slip model) {
		Bank_Payment_SlipSoap soapModel = new Bank_Payment_SlipSoap();

		soapModel.setDepSlipNo(model.getDepSlipNo());
		soapModel.setUserId(model.getUserId());
		soapModel.setRegistedDate(model.getRegistedDate());
		soapModel.setApplicationId(model.getApplicationId());
		soapModel.setDepositorName(model.getDepositorName());
		soapModel.setPaidAmount(model.getPaidAmount());
		soapModel.setApprovedAmount(model.getApprovedAmount());
		soapModel.setBankName(model.getBankName());
		soapModel.setUploadDepositSlip(model.getUploadDepositSlip());
		soapModel.setUploadDepositSlipFilename(model.getUploadDepositSlipFilename());
		soapModel.setUploadDepositSlipDocName(model.getUploadDepositSlipDocName());
		soapModel.setStatus(model.getStatus());

		return soapModel;
	}

	public static Bank_Payment_SlipSoap[] toSoapModels(
		Bank_Payment_Slip[] models) {
		Bank_Payment_SlipSoap[] soapModels = new Bank_Payment_SlipSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static Bank_Payment_SlipSoap[][] toSoapModels(
		Bank_Payment_Slip[][] models) {
		Bank_Payment_SlipSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new Bank_Payment_SlipSoap[models.length][models[0].length];
		}
		else {
			soapModels = new Bank_Payment_SlipSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static Bank_Payment_SlipSoap[] toSoapModels(
		List<Bank_Payment_Slip> models) {
		List<Bank_Payment_SlipSoap> soapModels = new ArrayList<Bank_Payment_SlipSoap>(models.size());

		for (Bank_Payment_Slip model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new Bank_Payment_SlipSoap[soapModels.size()]);
	}

	public Bank_Payment_SlipSoap() {
	}

	public String getPrimaryKey() {
		return _depSlipNo;
	}

	public void setPrimaryKey(String pk) {
		setDepSlipNo(pk);
	}

	public String getDepSlipNo() {
		return _depSlipNo;
	}

	public void setDepSlipNo(String depSlipNo) {
		_depSlipNo = depSlipNo;
	}

	public String getUserId() {
		return _userId;
	}

	public void setUserId(String userId) {
		_userId = userId;
	}

	public Date getRegistedDate() {
		return _registedDate;
	}

	public void setRegistedDate(Date registedDate) {
		_registedDate = registedDate;
	}

	public String getApplicationId() {
		return _applicationId;
	}

	public void setApplicationId(String applicationId) {
		_applicationId = applicationId;
	}

	public String getDepositorName() {
		return _depositorName;
	}

	public void setDepositorName(String depositorName) {
		_depositorName = depositorName;
	}

	public Double getPaidAmount() {
		return _paidAmount;
	}

	public void setPaidAmount(Double paidAmount) {
		_paidAmount = paidAmount;
	}

	public Double getApprovedAmount() {
		return _approvedAmount;
	}

	public void setApprovedAmount(Double approvedAmount) {
		_approvedAmount = approvedAmount;
	}

	public String getBankName() {
		return _bankName;
	}

	public void setBankName(String bankName) {
		_bankName = bankName;
	}

	public String getUploadDepositSlip() {
		return _uploadDepositSlip;
	}

	public void setUploadDepositSlip(String uploadDepositSlip) {
		_uploadDepositSlip = uploadDepositSlip;
	}

	public String getUploadDepositSlipFilename() {
		return _uploadDepositSlipFilename;
	}

	public void setUploadDepositSlipFilename(String uploadDepositSlipFilename) {
		_uploadDepositSlipFilename = uploadDepositSlipFilename;
	}

	public String getUploadDepositSlipDocName() {
		return _uploadDepositSlipDocName;
	}

	public void setUploadDepositSlipDocName(String uploadDepositSlipDocName) {
		_uploadDepositSlipDocName = uploadDepositSlipDocName;
	}

	public String getStatus() {
		return _status;
	}

	public void setStatus(String status) {
		_status = status;
	}

	private String _depSlipNo;
	private String _userId;
	private Date _registedDate;
	private String _applicationId;
	private String _depositorName;
	private Double _paidAmount;
	private Double _approvedAmount;
	private String _bankName;
	private String _uploadDepositSlip;
	private String _uploadDepositSlipFilename;
	private String _uploadDepositSlipDocName;
	private String _status;
}